$.app({
    data:{
        tabs:[],//[{title:"",view:"",ecss:"",app:""},...]
        activeIndex:0
    },
    on:{
        
    },
    onLoad:function () {
        
    },
    onClick:function (e) {
        var me = this;
        var index = $.toInt(e.data.index);

        me.setData({
            activeIndex:index
        })
    }
});